package cn.iocoder.yudao.module.mqtt.controller.admin.devicelatestflow.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import com.alibaba.excel.annotation.*;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 设备最新信息 Response VO")
@Data
@ExcelIgnoreUnannotated
public class DeviceLatestFlowRespVO {

    @Schema(description = "设备 ID，主键，自增", requiredMode = Schema.RequiredMode.REQUIRED, example = "12897")
    @ExcelProperty("设备ID")
    private Long id;

    @Schema(description = "设备编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("设备编号")
    private String deviceKey;

    @Schema(description = "日产流量", requiredMode = Schema.RequiredMode.REQUIRED)
    private String lisDay;

    @Schema(description = "全部流量", requiredMode = Schema.RequiredMode.REQUIRED)
    private String lisAll;

    @Schema(description = "年产流量", requiredMode = Schema.RequiredMode.REQUIRED)
    private String lisYear;

    @Schema(description = "月产流量", requiredMode = Schema.RequiredMode.REQUIRED)
    private String listMonth;

    @Schema(description = "设备ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime lisTime;

}